<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>13单选框和多选框</title>
    <link rel="stylesheet" href="css/bootstrap.min.css">
</head>
<body>
<!--原生的HTML样式-->
<input type="checkbox" name="hobby">篮球
<input type="checkbox" name="hobby">足球

<input type="radio" name="gender">男
<input type="radio" name="gender">女

<!--使用bootstrap的多选-->
<div>
    <div class="checkbox">
        <label for="">
            <input type="checkbox" name="hobby">篮球
        </label>
    </div>
    <div class="checkbox">
        <label for="">
            <input type="checkbox" name="hobby">篮球
        </label>
    </div>
</div>
<div>
        <label for="" class="checkbox-inline">
            <input type="checkbox" name="hobby">篮球
        </label>

        <label for="" class="checkbox-inline">
            <input type="checkbox" name="hobby">篮球
        </label>

</div>


<!--单选框-->
<div>
    <label for="" class="radio-inline">
        <input type="radio" name="gender">男
    </label>
    <label for="" class="radio-inline">
        <input type="radio" name="gender">女
    </label>
</div>


<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/bootstrap.min.js"></script>
</body>
</html>